package inter.impl;

import adapter.PowerAdaptee;
import inter.PowerTarget;

public class PowerAdapter extends PowerAdaptee implements PowerTarget {
    @Override
    public int outPut5V() {
        int outPut = outPut220V();
        System.out.println("电源适配器开始工作,此时工作电压:"+outPut);
        outPut/=44;
        System.out.println("电源适配器工作完成,此时工作电压:"+outPut);
        return outPut;
    }
}
